import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D



def plot(data=np.zeros([0,0])):
    fig = plt.figure()
    if data.shape[1] == 3:
        ax = Axes3D(fig)
        ax.scatter3D(data[:, 0], data[:, 1], data[:, 2])
    elif data.shape[1] == 2:
        plt.scatter(data[:, 0],data[:, 1])
    else:
        plt.plot(data.T)
    plt.show()

